﻿@model RiderShop.Mobile.Modle.MyAccount.MyCommentModel
@section title
{
我的评论
}
@section header
{
    <link href="~/Themes/RongJi/Style/base/css/account.css" rel="stylesheet">
}

<div id="equalize">
    @{
        Html.RenderPartial("MenuPartial");
    }
    <div class="col-right">
        <div class="wrapper-right">
            <header class="accountHeader">
                <i class="ping"></i>
                <h2>我的评论</h2>
            </header>
            @if (Model.CommentList == null)
            {
                <div class="nothingHere">
                    <i class="fa fa-leaf"></i>
                    <p>~评论空空如也~</p>
                    <a href="~/" class="rjbtn rjbtnGreen">去逛逛</a>
                </div>
            }
            else
            {
                    
                <table class="order_list">
                    <thead>
                        <tr>
                            <th>商品图片</th>
                            <th>商品名称</th>
                            <th>购买价格</th>
                            <th>评价积分</th>
                            <th>操作</th>
                        </tr>
                    </thead>
                    <tbody id="myCommentList">
                        @{
                            Html.RenderPartial("MyCommentPartial", Model);
                        }
                    </tbody>
                </table>
                  
                <div class="pageNavBottom">
                    <ul class="listPager">
                        <li class="disabled">共<strong>@Model.TotalCount</strong>条评价</li>
                        <li class="disabled">共<strong id="mycommentTotlaPage">@Model.TotalPage</strong>页</li>
                        <li class="disabled">当前第<strong id="currentPage">1</strong>页</li>
                        <li class="item"><i class="fa fa-angle-double-left"></i><a href="javascript:void(0)" id="fristPage">首页</a></li>
                        <li class="item"><i class="fa fa-angle-left"></i><a href="javascript:void(0)" id="previousPage">上一页</a></li>
                        <li class="item"><a href="javascript:void(0)" id="nextPage">下一页</a> <i class="fa fa-angle-right"></i></li>
                        <li class="item"><a href="javascript:void(0)" id="lastPage">尾页</a> <i class="fa fa-angle-double-right"></i></li>
                    </ul>
                </div>
            }
        </div>
    </div>
</div>

@section footer
{
    <script src="~/Themes/RongJi/Style/base/js/account.mycomment.js"></script>
}